<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>User details</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  
  <s:debug><s:iterator value="list">
  	<s:property value ="username" />
  	<s:property value ="UFullname" />
  </s:iterator></s:debug>
  	username:&nbsp;
  	<s:debug><s:property value="%{user}" /><br></s:debug>
  	<s:property value="'user.username'" /><br>
  	<s:property value="user.username" default="fuck" /><br>
  	eid:&nbsp;
  	<s:property value="user.EId" /><br>
  	full name:&nbsp;
  	<s:property value="user.UFullname" /> <br>
  	SSN:&nbsp;
  	<s:property value="user.USsn" /> <br>
  	email:&nbsp;
  	<s:property value="user.UEmail" /> <br>
  	description:&nbsp;
  	<s:property value="user.UDescription" /> <br>
    <br>
    
    
	<s:url id="sscs_url" action="show_the_SCs" />
        <s:a href="%{sscs_url}">Service contracts</s:a><br/>	
	<s:url id="sac_url" action="show_all_customers" />
        <s:a href="%{sac_url}">Customers</s:a><br/>	
	<s:url id="sares_url" action="show_all_real_estates" />
        <s:a href="%{sares_url}">Real estate's</s:a><br/><br/>
  </body>
</html>
